package com.woniuxy.member.infra.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 评价信息表
 * </p>
 *
 * @author Lucas
 * @since 2023-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("comment_info")
public class CommentInfo implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 评论ID
     */
    @TableId(value = "comment_id", type = IdType.AUTO)
    private Integer commentId;

    /**
     * 商铺ID
     */
    private Integer storeId;

    /**
     * 评论订单ID
     */
    private Integer payOrderId;

    /**
     * 评价人ID
     */
    private Integer memberId;

    /**
     * 评价内容
     */
    private String content;

    /**
     * 图片标识  0：无图 | 1：有图
     */
    private Integer pictureFlag;

    /**
     * 评价日期
     */
    private Date commentDate;


}
